fcf9e3b28b13ee2b9abe890c9c270adc541e4b16,source/com/intellij/ide/ui/customization/ActionUrl.java,ActionUrl,removePathFromActionsTree,#JTree#ActionUrl#,190
Before Change
final TreePath treePath = CustomizationUtil.getTreePath(tree, url);
if (treePath == null) return;
DefaultMutableTreeNode node = (DefaultMutableTreeNode)treePath.getLastPathComponent();
if (node.getChildCount() > url.getAbsolutePosition()) {
DefaultMutableTreeNode child = (DefaultMutableTreeNode)node.getChildAt(url.getAbsolutePosition());
if (child.getUserObject().equals(url.getComponent())) {
node.remove(child);
After Change
final TreePath treePath = CustomizationUtil.getTreePath(tree, url);
if (treePath == null) return;
DefaultMutableTreeNode node = (DefaultMutableTreeNode)treePath.getLastPathComponent();
final int absolutePosition = url.getAbsolutePosition();
if (node.getChildCount() > absolutePosition && absolutePosition >= 0) {
DefaultMutableTreeNode child = (DefaultMutableTreeNode)node.getChildAt(absolutePosition);
if (child.getUserObject().equals(url.getComponent())) {
node.remove(child);